<template>
    <div>
        <el-date-picker v-model="form[field.name]" type="datetime" style="width: 100%;" clearable
                        value-format="yyyy-MM-dd HH:mm:ss"
                        :placeholder="field.placeholder"></el-date-picker>
    </div>
</template>

<script>
export default {
    props: ['field', 'form']
}
</script>

<style scoped>

</style>
